package com.secsbrain.development.biz.exception;

/**
 * 此异常用于业务向Controller层传递错误消息
 * Created by hippo on 2017-7-5.
 */
public class BizMessageException extends UnifyBizException {
    private Object[] args;

    public BizMessageException(String message, Object... args) {
        super("1001",message);
        this.args = args;
    }

    public Object[] getArgs() {
        return args;
    }
}
